package com.dj.merchant.mapper;


import com.dj.merchant.model.StoreModelRelation;
import com.dj.merchant.model.StoreModelRelationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
* 
*/
public interface StoreModelRelationMapper {
    /**
     *
     * 
     */
    long countByExample(StoreModelRelationExample example);

    /**
     *
     * 
     */
    int deleteByExample(StoreModelRelationExample example);

    /**
     *
     * 
     */
    int deleteByPrimaryKey(Integer storeModelRelationId);

    /**
     *
     * 
     */
    int insert(StoreModelRelation record);

    /**
     *
     * 
     */
    int insertSelective(StoreModelRelation record);

    /**
     *
     * 
     */
    StoreModelRelation selectOneByExample(StoreModelRelationExample example);

    /**
     *
     * 
     */
    List<StoreModelRelation> selectByExample(StoreModelRelationExample example);

    /**
     *
     * 
     */
    StoreModelRelation selectByPrimaryKey(Integer storeModelRelationId);

    /**
     *
     * 
     */
    int updateByExampleSelective(@Param("record") StoreModelRelation record, @Param("example") StoreModelRelationExample example);

    /**
     *
     * 
     */
    int updateByExample(@Param("record") StoreModelRelation record, @Param("example") StoreModelRelationExample example);

    /**
     *
     * 
     */
    int updateByPrimaryKeySelective(StoreModelRelation record);

    /**
     *
     * 
     */
    int updateByPrimaryKey(StoreModelRelation record);
}